.love-icon {
    position: relative;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* 修改网格布局，确保列宽一致 */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

/* 调整卡片内部样式，确保高度一致 */
.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 2rem;
    box-sizing: border-box;
}

/* 修正合并列的卡片样式 */
.card-b {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* 确保图片容器大小一致 */
.card img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 1rem;
}

/* 统一文本区域样式 */
.card .text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
}

.parallax > use {
    animation: wave 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.parallax > use:nth-child(2) {
    animation-delay: -2s;
    animation-duration: 10s;
}

.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 15s;
}

@keyframes wave {
    0% { transform: translateX(0) scaleY(1); }
    50% { transform: translateX(-25%) scaleY(0.5); }
    100% { transform: translateX(-50%) scaleY(1); }
}